-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go/internal/test: pass default timeout to test programs if not given from command line #30545
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here (e.g. What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
I signed it! |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
This PR (HEAD: 8d5fff1) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/164963 to see it. Tip: You can toggle comments from me using the |
Message from Gobot Gobot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be During May-July and Nov-Jan the Go project is in a code freeze, during which Please don’t reply on this GitHub thread. Visit golang.org/cl/164963. |
Message from Bryan C. Mills: Patch Set 1: (2 comments) Thanks for the fix! A couple of minor comments. Please don’t reply on this GitHub thread. Visit golang.org/cl/164963. |
8d5fff1
to
ae998de
Compare
This PR (HEAD: ae998de) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/164963 to see it. Tip: You can toggle comments from me using the |
Message from Yuki Okamoto: Patch Set 2: (2 comments)
Thanks for your prompt review! Please don’t reply on this GitHub thread. Visit golang.org/cl/164963. |
Message from Emmanuel Odeke: Patch Set 2: Run-TryBot+1 Code-Review+1 Nice, thank you Yuki! Bryan I am just running the tests, merging all yours. Please don’t reply on this GitHub thread. Visit golang.org/cl/164963. |
Message from Gobot Gobot: Patch Set 2: TryBots beginning. Status page: https://farmer.golang.org/try?commit=54991d2a Please don’t reply on this GitHub thread. Visit golang.org/cl/164963. |
Message from Gobot Gobot: Patch Set 2: Build is still in progress... Consult https://build.golang.org/ to see whether it's a new failure. Other builds still in progress; subsequent failure notices suppressed until final report. Please don’t reply on this GitHub thread. Visit golang.org/cl/164963. |
Message from Gobot Gobot: Patch Set 2: TryBot-Result-1 2 of 19 TryBots failed: Consult https://build.golang.org/ to see whether they are new failures. Please don’t reply on this GitHub thread. Visit golang.org/cl/164963. |
Message from Yuki Okamoto: Patch Set 2:
Hi Bryan! I applied the fixes but it seemed to break a few tests on some platforms unfortunately. Let me confirm if my understanding is correct. 'testKillTimeout' is just a backup alarm as described in the following comment. Then, 'dt' itself in the following code (which is originally specified with '-timeout' option) should be passed to test programs as 'test.timeout' flag, right? Cheers, Please don’t reply on this GitHub thread. Visit golang.org/cl/164963. |
…t is not given from command line Make 'go test' command to pass the default timeout (10m) to test programs even if the value is not given from command line. Fixes golang#28147
ae998de
to
66f9a6f
Compare
This PR (HEAD: 66f9a6f) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/164963 to see it. Tip: You can toggle comments from me using the |
Message from Bryan C. Mills: Patch Set 3: Run-TryBot+1 Code-Review+2 Please don’t reply on this GitHub thread. Visit golang.org/cl/164963. |
Message from Gobot Gobot: Patch Set 3: TryBots beginning. Status page: https://farmer.golang.org/try?commit=427c525d Please don’t reply on this GitHub thread. Visit golang.org/cl/164963. |
Message from Gobot Gobot: Patch Set 3: Build is still in progress... Other builds still in progress; subsequent failure notices suppressed until final report. Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed. Please don’t reply on this GitHub thread. Visit golang.org/cl/164963. |
Message from Bryan C. Mills: Patch Set 4: Patch Set 3 was rebased Please don’t reply on this GitHub thread. Visit golang.org/cl/164963. |
Message from Bryan C. Mills: Patch Set 4: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/164963. |
Message from Gobot Gobot: Patch Set 4: TryBots beginning. Status page: https://farmer.golang.org/try?commit=e6a864b3 Please don’t reply on this GitHub thread. Visit golang.org/cl/164963. |
Message from Gobot Gobot: Patch Set 3: TryBot-Result-1 1 of 19 TryBots failed: Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed. Please don’t reply on this GitHub thread. Visit golang.org/cl/164963. |
Message from Gobot Gobot: Patch Set 4: TryBot-Result+1 TryBots are happy. Please don’t reply on this GitHub thread. Visit golang.org/cl/164963. |
…ven from command line Make 'go test' command to pass the default timeout (10m) to test programs if the value is not given from command line. Fixes #28147 Change-Id: I7856e452224a51a92da03bab8e3a0f9d7c41d32a GitHub-Last-Rev: 66f9a6f GitHub-Pull-Request: #30545 Reviewed-on: https://go-review.googlesource.com/c/go/+/164963 Run-TryBot: Bryan C. Mills <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]>
This PR is being closed because golang.org/cl/164963 has been merged. |
Make 'go test' command to pass the default timeout (10m) to test programs if the value is not given from command line.
Fixes #28147